#include "BrickL.h"

#define BRICK_NUM	4

BrickL::BrickL(void) : Brick(BRICK_NUM, BRICK_TYPE_L)
{
	init_brick();
}


BrickL::~BrickL(void)
{
	delete[] _coords;
}


void BrickL::init_brick()
{
	_coords = new int[AXIS_NUM * BRICK_NUM];
	int coords[AXIS_NUM * BRICK_NUM] = {
		-1, 0, 0,
		0, 0, 0,
		1, 0, 0,
		-1, -1, 0
	};
	memcpy(_coords, coords, sizeof(coords));
}
